package com.blb.logistics_system.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.blb.logistics_system.entity.Logistics;
import com.blb.logistics_system.mapper.LogisticsMapper;
import com.blb.logistics_system.service.LogisticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LogisticsServiceImpl extends ServiceImpl<LogisticsMapper, Logistics> implements LogisticsService {

    @Autowired
    private LogisticsMapper logisticsMapper;

    @Override
    public Page<Logistics> findLogisticsPage(Page<Logistics> page) {
        return logisticsMapper.selectLogisticsPage(page);
    }
}
